package com.fastloan.core.apiauth.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "AGENT_SECRET")
public class AgentSecret extends BaseModel<String>{
    /**
     * 客户编号
     */
    @Id
    @Column(name = "AGENT_ID")
    private String agentId;

    /**
     * 客户密钥
     */
    @Column(name = "AGENT_SECRET")
    private String agentSecret;

    /**
     * 获取客户编号
     *
     * @return AGENT_ID - 客户编号
     */
    public String getAgentId() {
        return agentId;
    }

    /**
     * 设置客户编号
     *
     * @param agentId 客户编号
     */
    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    /**
     * 获取客户密钥
     *
     * @return AGENT_SECRET - 客户密钥
     */
    public String getAgentSecret() {
        return agentSecret;
    }

    /**
     * 设置客户密钥
     *
     * @param agentSecret 客户密钥
     */
    public void setAgentSecret(String agentSecret) {
        this.agentSecret = agentSecret;
    }
}